export default {
  sideBarLayout: 'LEFT',
  showDataInfoBar: true,
  loadDefault: true,
  deviewCodeName: 'barChartExpView',
  deviewId: '255ac7275a6ca73adc1b9222ab32c89b',
  appWFId: 'workflow',
  accUserMode: 2,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '图表导航栏_导航参数_柱状图',
  codeName: 'master_bar_chart_exp_view',
  height: 500,
  appDataEntityId: 'web.master',
  appViewLogics: [
    {
      logicTrigger: 'CUSTOM',
      logicType: 'APPUILOGIC',
      builtinAppUILogic: {
        actionAfterWizard: 'DEFAULT',
        builtinLogic: true,
        logicType: 'PREDEFINED',
        viewLogicType: 'APP_NEWDATA',
        id: '新建数据',
      },
      builtinLogic: true,
      id: 'newdata',
    },
    {
      logicTrigger: 'CUSTOM',
      logicType: 'APPUILOGIC',
      builtinAppUILogic: {
        editMode: true,
        builtinLogic: true,
        logicType: 'PREDEFINED',
        viewLogicType: 'APP_OPENDATA',
        id: '打开数据',
      },
      builtinLogic: true,
      id: 'opendata',
    },
  ],
  controls: [
    {
      xdataControlName: 'chartexpbar_chart',
      enableCounter: true,
      showTitleBar: true,
      autoLoad: true,
      showBusyIndicator: true,
      appViewRefs: [
        {
          realTitle: '表格视图',
          refAppViewId: 'web.master_grid_view_read',
          name: 'EXPITEM:bar',
          id: 'expitem:bar',
        },
      ],
      controls: [
        {
          chartCoordinateSystems: [
            {
              chartGrid: {
                chartGridXAxis0Id: '0',
                chartGridYAxis0Id: '0',
                chartCoordinateSystemId: '0',
                type: 'grid',
                name: '[bar_0]直角坐标系[0]',
                id: '0',
              },
              echartsType: 'cartesian2d',
              type: 'XY',
              name: '[bar_0]直角坐标系[0]',
              id: '0',
            },
          ],
          dechartDataGrid: {
            id: '0',
          },
          dechartLegend: {
            id: '0',
          },
          dechartSerieses: [
            {
              caption: '柱状',
              catalogField: 'TYPE',
              echartsType: 'bar',
              chartCoordinateSystemId: '0',
              chartDataSetId: '0',
              chartSeriesEncode: {
                chartXAxisId: '0',
                chartYAxisId: '0',
                x: ['TYPE'],
                y: ['QUANTITY'],
                type: 'XY',
                name: '坐标系编码',
                id: '0',
              },
              seriesLayoutBy: 'column',
              seriesType: 'bar',
              valueField: 'QUANTITY',
              enableChartDataSet: true,
              navAppViewId: 'web.master_grid_view_read',
              navigateParams: [
                {
                  key: 'n_status_eq',
                  value: 'status',
                  id: 'n_status_eq',
                },
              ],
              id: 'bar_0',
            },
          ],
          dechartTitle: {
            id: '0',
          },
          chartDataSetGroups: [
            {
              appDEDataSetId: 'fetch_default',
              appDataEntityId: 'web.master',
              name: 'DEFAULT',
              id: '0',
            },
          ],
          chartDataSets: [
            {
              chartDataSetFields: [
                {
                  groupField: true,
                  name: 'TYPE',
                  id: '0',
                },
                {
                  index: 1,
                  name: 'QUANTITY',
                  id: '1',
                },
              ],
              name: 'bar_0-DEFAULT',
              id: '0',
            },
          ],
          chartGrids: [
            {
              chartGridXAxis0Id: '0',
              chartGridYAxis0Id: '0',
              chartCoordinateSystemId: '0',
              type: 'grid',
              name: '[bar_0]直角坐标系[0]',
              id: '0',
            },
          ],
          chartXAxises: [
            {
              echartsPos: 'xAxis',
              echartsType: 'category',
              position: 'bottom',
              type: 'category',
              name: 'axis_xAxis_1',
              id: '0',
            },
          ],
          chartYAxises: [
            {
              echartsPos: 'yAxis',
              echartsType: 'value',
              position: 'left',
              type: 'numeric',
              name: 'axis_yAxis_0',
              id: '0',
            },
          ],
          navViewPos: 'NONE',
          fetchControlAction: {
            appDEMethodId: 'fetch_default',
            appDataEntityId: 'web.master',
            id: 'fetch',
          },
          readOnly: true,
          autoLoad: true,
          showBusyIndicator: true,
          codeName: 'bar_chart_exp_view_chart',
          controlType: 'CHART',
          logicName: 'Chart27',
          appDataEntityId: 'web.master',
          controlLogics: [
            {
              eventNames: 'SELECTIONCHANGE',
              logicTag: 'chartexpbar_chart',
              logicType: 'CUSTOM',
              triggerType: 'CTRLEVENT',
              id: 'chartexpbar_selectionchange',
            },
            {
              eventNames: 'LOAD',
              logicTag: 'chartexpbar_chart',
              logicType: 'CUSTOM',
              triggerType: 'CTRLEVENT',
              id: 'chartexpbar_load',
            },
          ],
          controlParam: {
            id: 'chartexpbar_chart',
          },
          modelId: 'b7ea13ae660856c469cddf36e0d27c39',
          modelType: 'PSDECHART',
          userParam: {
            'EC.color':
              '["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc","#5470c6","#91cc75"]',
          },
          name: 'chartexpbar_chart',
          id: 'web.master.bar_chart_exp_view_chart',
        },
      ],
      codeName: 'bar_chart_exp_view_chartexpbar',
      controlType: 'CHARTEXPBAR',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'chartexpbar',
      },
      width: 750,
      modelId: 'de94408a424d266e0a587c98f96eed95_chartexpbar',
      modelType: 'PSEXPBAR',
      name: 'chartexpbar',
      id: 'bar_chart_exp_view_chartexpbar',
    },
    {
      groupMode: 'SINGLE',
      quickSearchMode: 1,
      enableQuickSearch: true,
      controlType: 'SEARCHBAR',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'searchbar',
      },
      id: 'searchbar',
    },
    {
      capLanguageRes: {
        lanResTag: 'DE.LNAME.MASTER',
      },
      caption: '图表导航栏_导航参数_柱状图',
      codeName: 'bar_chart_exp_view_captionbar',
      controlType: 'CAPTIONBAR',
      appDataEntityId: 'web.master',
      controlParam: {},
      name: 'captionbar',
      id: 'bar_chart_exp_view_captionbar',
    },
  ],
  viewLayoutPanel: {
    layoutBodyOnly: true,
    useDefaultLayout: true,
    layoutPanel: true,
    codeName: 'layoutpanel',
    controlStyle: 'APPDECHARTEXPVIEW',
    controlType: 'VIEWLAYOUTPANEL',
    appDataEntityId: 'web.master',
    controlParam: {},
    id: 'layoutpanel',
  },
  title: '图表导航栏_导航参数_柱状图',
  viewStyle: 'DEFAULT',
  viewType: 'DECHARTEXPVIEW',
  enableDP: true,
  showCaptionBar: false,
  modelId: 'de94408a424d266e0a587c98f96eed95',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERbarChartExpView',
  id: 'web.master_bar_chart_exp_view',
};
